// file: GrilleMotsCroisesTest.hpp
#ifndef GRILLEMOTSCROISESTEST_H
#define GRILLEMOTSCROISESTEST_H

#include <cppunit/TestFixture.h>
#include <cppunit/extensions/HelperMacros.h>
#include "GrilleMotsCroises.hpp"

using namespace std;

class GrilleMotsCroisesTest : public CPPUNIT_NS :: TestFixture
{
    CPPUNIT_TEST_SUITE (GrilleMotsCroisesTest);
    CPPUNIT_TEST (chargerTest);
    CPPUNIT_TEST (estRemplieTest);
    CPPUNIT_TEST (estRemplieMotsTest);
    CPPUNIT_TEST (ajouterCaseNoireTest);
    CPPUNIT_TEST (verifieContraintesTest);
    CPPUNIT_TEST (defMotsTest);
    CPPUNIT_TEST (initCasesNoiresTest);
    //CPPUNIT_TEST (initTest);
    CPPUNIT_TEST_SUITE_END ();

    public:
        void setUp (void);
        void tearDown (void);

    protected:
        void chargerTest (void);
        void estRemplieTest (void);
        void estRemplieMotsTest (void);
        void initTest (void);
        void ajouterCaseNoireTest (void);
        void verifieContraintesTest (void);
        void defMotsTest (void);
        void initCasesNoiresTest (void);

    private:
        GrilleMotsCroises *a, *b, *c, *d, *e, *f, *g, *h, *u, *v;
};

#endif
